package cn.iocoder.yudao.module.design.enums.design;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;


@Getter
@AllArgsConstructor
public enum FlowTaskTypeEnum {

    /**
     * 补充信息
     */
    FLOW_TASk_CD_0(0,"补充信息"),

    /**
     * 流转任务
     */
    FLOW_TASk_CD_1(1,"流转任务"),

    /**
     * 项目邀请申请
     */
    FLOW_TASk_CD_2(2,"项目邀请申请");

    /**
     * 状态
     */
    private final Integer code;

    /**
     * 描述
     */
    private final String name;

    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(FlowTaskTypeEnum::getCode).toArray();


}
